home *** CD-ROM | disk | FTP | other *** search
/ Champak 119 / (Vol 119) Nov 09 2010.iso / Games / tobby_ura_ura.swf / scripts / DefineSprite_132_stg6 / frame_1 / DoAction.as
Text File  |  2010-11-09  |  257b  |  13 lines

  1. function scrollMap()
  2. {
  3.    this.px -= _root.scrollSpeed;
  4.    if(this.scrollEnd >= this.px)
  5.    {
  6.       this.px = this.scrollEnd;
  7.    }
  8.    _root.baseX = - this.px;
  9. }
  10. this.px = this._x;
  11. this.scrollEnd = - (this._width - 640);
  12. _root.baseX = - this.px;
  13.